package com.etl.base.urils;

import com.etl.base.config.RulesEngineConfig;

/**
 * java源文件工具类
 */
public class JavaSourceUtils {

    private RulesEngineConfig rulesEngineConfig;

    //写入                    规则引擎名字
    public void write(String rulesEnginName,String context){
        //获取绝对路径
        String filePath = rulesEngineConfig.getBaseFilePath() + rulesEnginName;

        // 写入文件当中

        // IO写入
    }


    // 读取
    public String read(String rulesEnginName){
        //获取绝对路径
        String filePath = rulesEngineConfig.getBaseFilePath() + rulesEnginName;

        // IO读取

        //返回读取数据
        return null;
    }

}
